import { createPinia } from "pinia"
// 导入持久化插件
import persist from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(persist)

// 统一导出
export default pinia
export * from "./modules/user"